package com.mc.service.service;

import com.mc.common.annotation.ServiceMapping;
import com.mc.common.base.BaseResponse;
import com.mc.service.BaseApiService;
import com.mc.service.vo.OrderVo;
import org.springframework.stereotype.Service;

/***
 * @ClassName ServiceMappingServiceImpl
 * @Description 下单统一网关实现层
 * @Author CC
 * @Date: 2019/4/2 21:35
 * @Version 1.0
 */
@Service
public class ServiceMappingServiceImpl extends BaseApiService implements ServiceMappingService {
    @Override
    @ServiceMapping(value = "saveOrder")
    public BaseResponse saveOrder(OrderVo orderVo) {
        System.out.println("调用成功！");
        BaseResponse baseResponse = new BaseResponse();
        baseResponse.setBody("成功");
        return baseResponse;
    }
}
